package com.zc.app.sys.dao.peer;

import com.google.common.collect.Lists;

import java.io.Serializable;
import java.util.List;

/**
 * Created by zc on 2016/9/1.
 */
public class Menu implements Serializable{

    private Menu parent;
    private String parentIds;
    private String name;
    private String href;
    private String target;
    private String icon;
    private Integer sort;
    private String isShow;
    private String isActiviti;
    private String permission;
    private List<Menu> childList;
    private List<Role> roleList;

    public Menu() {
        this.childList = Lists.newArrayList();
        this.roleList = Lists.newArrayList();
        this.sort = Integer.valueOf(30);
    }

    public Menu getParent() {
        return parent;
    }

    public void setParent(Menu parent) {
        this.parent = parent;
    }

    public String getParentIds() {
        return parentIds;
    }

    public void setParentIds(String parentIds) {
        this.parentIds = parentIds;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getHref() {
        return href;
    }

    public void setHref(String href) {
        this.href = href;
    }

    public String getTarget() {
        return target;
    }

    public void setTarget(String target) {
        this.target = target;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getIsShow() {
        return isShow;
    }

    public void setIsShow(String isShow) {
        this.isShow = isShow;
    }

    public String getIsActiviti() {
        return isActiviti;
    }

    public void setIsActiviti(String isActiviti) {
        this.isActiviti = isActiviti;
    }

    public String getPermission() {
        return permission;
    }

    public void setPermission(String permission) {
        this.permission = permission;
    }

    public List<Menu> getChildList() {
        return childList;
    }

    public void setChildList(List<Menu> childList) {
        this.childList = childList;
    }

    public List<Role> getRoleList() {
        return roleList;
    }

    public void setRoleList(List<Role> roleList) {
        this.roleList = roleList;
    }
}
